package com.qf.pojo;

/**
 * @author fy
 * @version V1.0
 * @Project day41
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/6/2 15:23
 */
public class Address {
    private String addr;
    //重写构造方法，对属性进行注入，也就是复制
//    public Address(String addr) {
//        this.addr = addr;
//    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addr='" + addr + '\'' +
                '}';
    }
}
